package com.itheima.wms.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.itheima.wms.datasource.WmsMybatisPlusCache;
import com.itheima.wms.entity.CheckEntity;
import com.itheima.wms.vo.CheckDetailVO;
import org.apache.ibatis.annotations.CacheNamespace;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.Map;

/**
 * <p>
 * Mapper 接口
 * 盘点单
 * </p>
 */
@Repository
@CacheNamespace(implementation = WmsMybatisPlusCache.class, eviction = WmsMybatisPlusCache.class)
public interface CheckMapper extends BaseMapper<CheckEntity> {

    IPage<CheckDetailVO> selectCheckDetail(Page<CheckDetailVO> page, @Param("params") Map data);
}
